import request from '@/utils/request'


//酒店OCR识别
export function ocrIdentifyWithHotel(data) {
  return request({
    url: '/invoice/extrat',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}

//出租车OCR识别
export function ocrIdentifyWithTaxi(data) {
  return request({
    url: '/taxi/recognize',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}

//酒店发票信息提交
export function ocrSubmitWithHotel(data) {
  return request({
    url: '/invoice/save',
    method: 'post',
    data: data
  })
}
